// FaceManager.h: interface for the CFaceManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FACEMANAGER_H__A62BCE32_D4A7_4DA9_8745_2F806249759E__INCLUDED_)
#define AFX_FACEMANAGER_H__A62BCE32_D4A7_4DA9_8745_2F806249759E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CTheme
{
public:
	CString   m_strThemeName;
	CString   m_strThemeDes;
	COLORREF m_bkColor , m_TextColor ;

	CString  m_strThemeFileName;
	BOOL     LoadFromIni(CString strFileName);
};

class CFaceManager  
{
public:
	CString m_strHtmlTemplate;
	CString m_strSegHtmlTemplate;

	COLORREF m_bkColor , m_TextColor ;
	CBitmap  m_face;
	CBitmap  m_sure1,m_sure2,m_left1,m_left2,m_right1,m_right2,m_menu1,m_menu2;
	CBitmap  m_minibutton,m_closebutton;
	CBitmap  m_pirnt,m_sound,m_copy,m_parse,m_study;
	CBitmap  m_parseover;
	CBrush   m_brush ;

	// Dir of Current theme
	CString m_strCurDir ;
	UINT    m_nCurTheme ;
	CTheme  *m_pThemes ;
	UINT    m_nThemeCount ;
public:
	void ClearInstance();
	CTheme* GetTheme(UINT nPos);
	BOOL SetCurTheme(UINT nID);
	BOOL Init();
	static CFaceManager* Instance();
    virtual ~CFaceManager();
protected:
	CFaceManager();
private:
	BOOL LoadBmpsFromFile();
	static CFaceManager* m_instance ;
};

#endif // !defined(AFX_FACEMANAGER_H__A62BCE32_D4A7_4DA9_8745_2F806249759E__INCLUDED_)
